repo: More porting to new style
authorColin Walters <walters@verbum.org>
Tue, 25 Apr 2017 15:55:01 +0000 (11:55 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 25 Apr 2017 20:01:13 +0000 (20:01 +0000)
commit3d1b47803f2c0efde9fea20ada0480d84900d5a6
treeb79200ac887d2ab4cc697e6175f96fde991d7a5f
parent8d58ab1002cbc4a1ecafe3d1a80984f8a60f41e9
repo: More porting to new style

I was planning to change some of the object loading code in the
future, so here's some porting.

Note that I rewrote `_ostree_repo_has_loose_object()` since it
used an error return across multiple functions.

Honestly I'm not sure about this `TEMP_FAILURE_RETRY()` business...
in reality we're going to end up with a ton of code linked in
process that doesn't do it.  Unix sucks =(  But I'm keeping
what was there out of consistency.

Closes: #809
Approved by: jlebon
src/libostree/ostree-repo.c